package com.oa.ylms.apps.business.plan;

import java.util.List;

import com.oa.ylms.apps.entity.plan.CheckPlanCategoryValue;

public interface ICheckPlanCategoryService {
	
	public int addCheckPlanCategory(String categoryName)throws Exception;
	
	public boolean modifyCheckPlanCategory(int categoryId, String categoryName)throws Exception;
	
	public boolean deleteCheckPlanCategory(int categoryId)throws Exception;
	
	public boolean toDisable(int categoryId)throws Exception;
	
	public boolean toEnable(int categoryId)throws Exception;
	
	public CheckPlanCategoryValue queryByCategoryId(int categoryId)throws Exception;
	
	public List<CheckPlanCategoryValue> queryAllCategoryInfo()throws Exception;
	
	public List<CheckPlanCategoryValue> queryCheckPlanCategory(Integer states)throws Exception;
}
